package com.spring.Controller.Interface;


import com.spring.Entity.PaylogEntity;
import jxl.read.biff.BiffException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.sql.Date;
import java.text.ParseException;
import java.util.Map;

/**
 * Created by Arabira on 2016/8/4.
 */
public interface PaylogController {
    public Map<String, Object> addPaylog(PaylogEntity paylogEntity, HttpSession session, HttpServletRequest request);

    public Map<String, Object> findPaylogByContractId(String contractId, HttpSession session, HttpServletRequest request);

    public Map<String, Object> upOrDown(Integer paylogId, HttpSession session, HttpServletRequest request);

    public Map<String, Object> updatePaidTime(PaylogEntity paylogEntity, HttpSession session, HttpServletRequest request);

    public Map<String, Object> addPaylogExcel(MultipartFile file, HttpServletRequest request) throws IOException, BiffException, ParseException;
}
